Skip to content

Simplify hero top padding and align HomeContent to top - #99

Open
feynon wants to merge 1 commit into
mainfrom
codex/adjust-landing-page-hero-spacing-4qbqcr
Open

Simplify hero top padding and align HomeContent to top#99
feynon wants to merge 1 commit into
mainfrom
codex/adjust-landing-page-hero-spacing-4qbqcr

Conversation

@feynon

@feynon feynon commented Apr 20, 2026

Copy link
Copy Markdown
Member

Motivation

  • Simplify safe-area handling and avoid unwanted vertical centering in the home hero by removing complex responsive calc() top padding and ensuring the content starts from the top.

Description

  • Replace the main element's complex responsive pt-[calc(...+env(...))] rules with a single pt-[env(safe-area-inset-top,0px)], remove related responsive top padding variants, add explicit top padding to the inner content wrapper with pt-12 sm:pt-14 lg:pt-16, and change the container alignment from items-center to items-start so the hero content is aligned to the top.

Testing

  • Ran npm run build, npm run lint, and npm test, and all commands completed successfully.

Codex Task

@vercel

vercel Bot commented Apr 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tiles-next Ready Ready Preview, Comment, Open in v0 Apr 20, 2026 8:39am

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant